﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Models;
using DAL;

namespace BLL
{
    public class B_Teacher
    {
        DAL.D_Teacher dal = new DAL.D_Teacher();

 
        public List<Teacher> GetList()
        {
            return dal.getList();
        }

        public bool Login(Teacher teacher)
        {
            var res = dal.login(teacher);

            DAL.D_SysConfig d_Config = new DAL.D_SysConfig();
            LogInfo.sys_Configs = d_Config.listCconfig();


            return res;
        }

    }
}
